<?php
/**
 * RedXenon Framework
 * 
 * LICENSE
 * 
 * This source file is subject to the New BSD license that is bundled
 * with this package in the file LICENSE.txt
 * A copy of this license can be found in the world-wide-web at this URL:
 * http://www.redxenon.com/license/new-bsd-license.txt * 
 */

/**
 * RedXenon Form (RXAbstractFormElement.php)
 * Abastract class that implements some common methods for the Form Elements
 * 
 * @category RedXenon
 * @package RedXenon_Form
 * @copyright Copyright (c) 2011 Red Xenon (http://www.redxenon.com)
 * @version $Id: RXAbstractFormElement.php 1.0 2011-05-02 $ 
 */
class RXAbstractFormElement{
	
	protected $name;
	protected $id;
	protected $isHidden;
	
	public function __construct($name = NULL, $id = NULL, $isHidden = FALSE){
		$this->name = $name;
		$this->id = $id;
		$this->isHidden = $isHidden;
	}
	
	public function getName(){
		return $this->name;
	}
	
	public function getId(){
		return $this->id;
	}
	
	public function getIsHidden($isHidden){
		return $this->isHidden;
	}
	
	public function setName($name){
		$this->name = $name;
	}
	
	public function setId($id){
		$this->id = $id;
	}
	
	public function setIsHidden($isHidden){
		$this->isHidden = $isHidden;
	}
}
?>